package com.situ.mall.product.mapper;

import com.situ.mall.pojo.entity.product.Collect;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Sun Huijuan
 * @since 2024-10-17
 */
public interface CollectMapper extends BaseMapper<Collect> {
	
	List<Collect> selectAllList(Long productId, Long userId);
	
	void updateCollect(Long userId, Long productId);
}
